Test Results - sandbox_functional_converter_test

All Test Modules | GitHub Repository Designed for use with JUnit.

Summary

89.7%
10.3%
Tests Failures Errors Skipped Success rate Time
262 0 0 27 89.69% 24.989
Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Packages

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
Name Tests Errors Failures Skipped Time(s) Time Stamp Host
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top


TestCase Additional Loop Pattern Edge Cases

Name Status Type Time(s)
Do-while loop should NOT convert (semantic incompatibility) ๐Ÿ”— Success 0.098
For-each loop adding to empty list followed by sort - CAUTION: mutability issue ๐Ÿ”— Success 0.122
Iterator with internal hasNext() check should NOT convert ๐Ÿ”— Success 0.098
Classic while-loop should NOT convert (no collection iteration) ๐Ÿ”— Success 0.069
Index-based for-loop to IntStream.range() (future) ๐Ÿ”— Skipped
Index-based for-loops not yet supported - requires range analysis
0.000
BUGGY BEHAVIOR: Multiple loops overwrite list instead of accumulating ๐Ÿ”— Success 0.284
Do-while with guaranteed execution should NOT convert ๐Ÿ”— Success 0.058
Index-based collection loop (future) ๐Ÿ”— Skipped
Index-based collection access not yet supported
0.000
While-loop with method call condition should NOT convert ๐Ÿ”— Success 0.081
Multiple for-each loops populating same list should use Stream.concat() ๐Ÿ”— Skipped
FEATURE: Stream.concat() for multiple loops adding to same list not yet implemented
0.000
Multiple iterators should NOT convert (no zip() in Java) ๐Ÿ”— Success 0.132
Properties ยป

Back to top

TestCase Additional Map+Filter Pattern Tests

Name Status Type Time(s)
Null-safe map: filter(item -> item != null).map() ๐Ÿ”— Success 0.077
Filter-map-collect: stream().filter().map().collect() ๐Ÿ”— Success 0.122
Combined filter: single filter with && condition ๐Ÿ”— Success 0.155
Map-filter-map: multi-step transformation ๐Ÿ”— Success 0.111
Filter-first: stream().filter().map().forEach() ๐Ÿ”— Success 0.076
Complex chain: multiple transformations ๐Ÿ”— Success 0.095
Multiple filters: sequential conditions ๐Ÿ”— Success 0.099
Properties ยป

Back to top

TestCase Bidirectional Loop Transformation Tests

Name Status Type Time(s)
Stream โ†’ for: forEach to enhanced for-loop (future) ๐Ÿ”— Skipped
Stream โ†’ for transformation not yet implemented - future enhancement
0.000
for โ†’ while: Enhanced for to iterator while-loop (future) ๐Ÿ”— Skipped
for โ†’ while transformation not yet implemented - niche use case
0.000
while โ†’ for: Iterator while-loop to enhanced for (future) ๐Ÿ”— Skipped
while โ†’ for transformation not yet implemented - alternative to Iterator โ†’ Stream
0.000
for โ†’ Stream: Basic forEach transformation ๐Ÿ”— Success 0.275
Iterator โ†’ Stream: while-iterator to forEach ๐Ÿ”— Success 0.082
Properties ยป

Back to top

TestCase Functional Loop - Nested Loops and Edge Cases

Name Status Type Time(s)
Properties ยป

Back to top

TestCase Functional Loop - Nested Loops and Edge Cases Complex Condition Tests

Name Status Type Time(s)
Filter with AND condition ๐Ÿ”— Success 0.221
Filter with OR condition ๐Ÿ”— Success 0.152
Filter with instanceof check ๐Ÿ”— Success 0.184
Filter with negated complex condition using continue ๐Ÿ”— Success 0.107
Properties ยป

Back to top

TestCase Functional Loop - Nested Loops and Edge Cases Complex Patterns That Should NOT Convert

Name Status Type Time(s)
Loop with multiple different returns - should NOT convert ๐Ÿ”— Success 0.116
Loop with switch statement - should NOT convert ๐Ÿ”— Success 0.119
Loop with try-catch - should NOT convert ๐Ÿ”— Success 0.086
Loop modifying collection during iteration - should NOT convert ๐Ÿ”— Success 0.034
Loop with synchronized block - should NOT convert ๐Ÿ”— Success 0.091
Properties ยป

Back to top

TestCase Functional Loop - Nested Loops and Edge Cases Edge Case Tests

Name Status Type Time(s)
Loop with only comment - should NOT convert ๐Ÿ”— Success 0.114
Loop over array - should convert to Arrays.stream() ๐Ÿ”— Success 0.127
Loop variable shadows instance field ๐Ÿ”— Success 0.111
Loop body uses this keyword ๐Ÿ”— Success 0.149
Loop with generic type parameters ๐Ÿ”— Success 0.105
Empty loop body - should NOT convert ๐Ÿ”— Success 0.071
Properties ยป

Back to top

TestCase Functional Loop - Nested Loops and Edge Cases Lambda Capture and Scope Tests

Name Status Type Time(s)
Loop uses effectively final variable ๐Ÿ”— Success 0.086
Loop body uses instance field ๐Ÿ”— Success 0.106
Loop body uses final local variable ๐Ÿ”— Success 0.138
Loop body uses method parameter ๐Ÿ”— Success 0.172
Properties ยป

Back to top

TestCase Functional Loop - Nested Loops and Edge Cases Nested Loop Tests

Name Status Type Time(s)
Nested for-each loops should convert inner loop only ๐Ÿ”— Skipped
Inner loop conversion in nested context not yet implemented - requires multi-pass cleanup execution
0.000
Loop over filtered stream result - should convert ๐Ÿ”— Success 0.244
Nested loops with outer variable capture - should NOT convert ๐Ÿ”— Success 0.107
Enhanced-for with nested traditional for loop - should NOT convert ๐Ÿ”— Success 0.060
Inner loop in nested context can be converted ๐Ÿ”— Skipped
Inner loop conversion in nested context not yet implemented
0.000
Enhanced-for with nested do-while loop - should NOT convert ๐Ÿ”— Success 0.105
Enhanced-for with nested while loop - should NOT convert ๐Ÿ”— Success 0.086
Properties ยป

Back to top

TestCase Functional Loop Null Safety Tests

Name Status Type Time(s)
Properties ยป

Back to top

TestCase Functional Loop Null Safety Tests Edge Cases and Corner Cases

Name Status Type Time(s)
forEach with Optional.ofNullable ๐Ÿ”— Skipped
TODO: Debug why Optional.ifPresent pattern is not being converted
0.000
allMatch with null-safe equals comparison ๐Ÿ”— Success 0.151
anyMatch with negated null check (find non-null) ๐Ÿ”— Success 0.155
Chained method calls with potential null intermediate ๐Ÿ”— Success 0.121
Properties ยป

Back to top

TestCase Functional Loop Null Safety Tests Match Pattern Null Safety Tests

Name Status Type Time(s)
noneMatch with method call - NPE risk documented ๐Ÿ”— Success 0.107
anyMatch checking for null elements ๐Ÿ”— Success 0.068
Properties ยป

Back to top

TestCase Functional Loop Null Safety Tests Method Invocation on Loop Variable Tests

Name Status Type Time(s)
Method call on loop variable - same NPE behavior ๐Ÿ”— Success 0.173
Explicit null check with continue converts to filter ๐Ÿ”— Success 0.097
Properties ยป

Back to top

TestCase Functional Loop Null Safety Tests Negative Tests - Should NOT Convert

Name Status Type Time(s)
Assignment of null to external variable - should NOT convert ๐Ÿ”— Success 0.112
Conditional return null in loop - should NOT convert ๐Ÿ”— Success 0.066
Properties ยป

Back to top

TestCase Functional Loop Null Safety Tests Reduce Operation Null Safety Tests

Name Status Type Time(s)
Integer sum with unboxing - same NPE behavior ๐Ÿ”— Success 0.097
Math.max reducer pattern ๐Ÿ”— Success 0.102
Properties ยป

Back to top

TestCase Functional Loop Null Safety Tests String Concatenation Reducer Tests

Name Status Type Time(s)
String concat without @NotNull uses null-safe lambda ๐Ÿ”— Success 0.096
String concat with @NotNull accumulator uses String::concat ๐Ÿ”— Success 0.124
Properties ยป

Back to top

TestCase Iterator Loop to Stream Conversion Tests

Name Status Type Time(s)
Iterator filter+map+collect: stream().filter().map().collect() ๐Ÿ”— Skipped
Iterator filter+map+collect pipeline not yet implemented; re-enable when iterator patterns support collect/map/filter/reduce
0.000
Multiple next() calls prevent conversion - unsafe pattern ๐Ÿ”— Success 0.133
Iterator collect to Set: stream().collect(Collectors.toSet()) ๐Ÿ”— Skipped
Iterator collect-to-Set pipeline not yet implemented; re-enable when iterator patterns support collect/map/filter/reduce
0.000
for-loop-iterator forEach: list.stream().forEach(item -> println(item)) ๐Ÿ”— Success 0.141
Iterator map+collect: stream().map(transform).collect(toList()) ๐Ÿ”— Skipped
Iterator map+collect pipeline not yet implemented; re-enable when iterator patterns support collect/map/filter/reduce
0.000
Iterator map with method reference: stream().map(String::toUpperCase) ๐Ÿ”— Skipped
Iterator map pipeline not yet implemented; re-enable when iterator patterns support collect/map/filter/reduce
0.000
Break statement prevents conversion - not yet supported ๐Ÿ”— Success 0.122
Iterator filter+collect: stream().filter(predicate).collect(toList()) ๐Ÿ”— Skipped
Iterator filter+collect pipeline not yet implemented; re-enable when iterator patterns support collect/map/filter/reduce
0.000
Iterator sum reduction: stream().mapToInt(i -> i).sum() ๐Ÿ”— Skipped
Iterator reduce pipeline not yet implemented; re-enable when iterator patterns support collect/map/filter/reduce
0.000
Iterator.remove() prevents conversion - unsafe pattern ๐Ÿ”— Success 0.158
while-iterator forEach: list.stream().forEach(item -> println(item)) ๐Ÿ”— Success 0.187
Iterator collect to List: stream().collect(Collectors.toList()) ๐Ÿ”— Skipped
Iterator collect-to-List pipeline not yet implemented; re-enable when iterator patterns support collect/map/filter/reduce
0.000
External state modification prevents conversion - side effect ๐Ÿ”— Skipped
External state modification detection needs fixing - currently converts when it shouldn't
0.000
forEach with block lambda for multiple statements ๐Ÿ”— Skipped
Iterator multi-statement block lambda not yet fully implemented; re-enable when block handling is complete
0.000
Properties ยป

Back to top

TestCase LambdaGenerator Tests

Name Status Type Time(s)
Properties ยป

Back to top

TestCase LambdaGenerator Tests Constructor

Name Status Type Time(s)
valid AST creates instance ๐Ÿ”— Success 0.000
null AST throws exception ๐Ÿ”— Success 0.005
Properties ยป

Back to top

TestCase LambdaGenerator Tests createAccumulatorExpression()

Name Status Type Time(s)
Creates binary lambda for STRING_CONCAT when not null-safe ๐Ÿ”— Success 0.000
Creates Integer::sum for SUM type with int ๐Ÿ”— Success 0.000
Creates Double::sum for SUM type with double ๐Ÿ”— Success 0.001
Creates counting lambda for INCREMENT type ๐Ÿ”— Success 0.000
Creates String::concat for STRING_CONCAT when null-safe ๐Ÿ”— Success 0.005
Creates binary lambda for PRODUCT type ๐Ÿ”— Success 0.000
Properties ยป

Back to top

TestCase LambdaGenerator Tests generateUniqueVariableName()

Name Status Type Time(s)
Returns base name if not used ๐Ÿ”— Success 0.002
Appends number if base name is used ๐Ÿ”— Success 0.000
Increments number until unique ๐Ÿ”— Success 0.000
Properties ยป

Back to top

TestCase Loop Collect Pattern Refactoring Tests

Name Status Type Time(s)
Null filter: filter(item -> item != null) ๐Ÿ”— Skipped
V1 implementation doesn't support filter+collect pattern
0.000
Map+collect: stream().map(transform).collect(Collectors.toList()) ๐Ÿ”— Success 0.203
Side effects prevent collect conversion ๐Ÿ”— Skipped
BUG: V1 implementation incorrectly converts and loses the counter++ side effect
0.000
Identity collect to List: stream().collect(Collectors.toList()) ๐Ÿ”— Success 0.147
Array source collect: Arrays.stream(array).toList() ๐Ÿ”— Skipped
V1 doesn't handle Arrays import with java.util.* - needs specific import setup
0.000
Filter+collect: stream().filter(predicate).toList() ๐Ÿ”— Skipped
V1 implementation doesn't support filter+collect pattern
0.000
Identity collect to Set: stream().collect(Collectors.toSet()) ๐Ÿ”— Success 0.217
Complex filter+map: multiple conditions and transformations ๐Ÿ”— Skipped
V1 implementation doesn't support filter+collect pattern
0.000
Filter+map+collect chain: optimal ordering for performance ๐Ÿ”— Skipped
V1 implementation doesn't support filter+collect pattern
0.000
Map with lambda (method reference candidate): stream().map(item -> item.toUpperCase()) ๐Ÿ”— Success 0.201
Intermediate read transformed with map and forEachOrdered ๐Ÿ”— Success 0.175
Multiple collect targets prevent conversion ๐Ÿ”— Success 0.146
Array map+collect: Arrays.stream(arr).map(f).toList() ๐Ÿ”— Skipped
V1 doesn't handle Arrays import with java.util.* - needs specific import setup
0.000
Map with complex expression: stream().map(x -> x * 2) ๐Ÿ”— Success 0.076
Break statement prevents collect conversion ๐Ÿ”— Success 0.101
Properties ยป

Back to top

TestCase Loop Refactoring Edge Cases and Boundary Conditions

Name Status Type Time(s)
Nested generics: List<List<T>> type inference ๐Ÿ”— Success 0.168
Single element: consistent transformation ๐Ÿ”— Success 0.111
Unused element: lambda with unused parameter ๐Ÿ”— Skipped
Pattern not converting in V1 - needs investigation
0.000
Empty collection: stream handles empty input correctly ๐Ÿ”— Success 0.181
Performance: use direct forEach when possible ๐Ÿ”— Success 0.089
Method chaining: element.method1().method2() ๐Ÿ”— Success 0.103
Null-safe operation: filter before map ๐Ÿ”— Success 0.095
No-op loop: empty body still transforms ๐Ÿ”— Success 0.076
Variable shadowing: lambda preserves scope ๐Ÿ”— Success 0.101
Chained map: map(x -> x.m1().m2()) ๐Ÿ”— Success 0.177
Name conflict: avoid variable name collisions ๐Ÿ”— Success 0.096
Primitive array: use IntStream for int[] to avoid boxing ๐Ÿ”— Success 0.070
Null check filter: filter(item -> item != null) ๐Ÿ”— Success 0.077
Wildcard generics: List<? extends T> handling ๐Ÿ”— Success 0.089
Properties ยป

Back to top

TestCase Loop Target Format Selection Tests

Name Status Type Time(s)
LoopTargetFormat.getId() returns correct IDs ๐Ÿ”— Success 0.034
Target format STREAM: for โ†’ stream (default behavior) ๐Ÿ”— Success 0.092
LoopTargetFormat.fromId() parses correctly ๐Ÿ”— Success 0.075
Target format FOR_LOOP: no conversion yet (not implemented) ๐Ÿ”— Success 0.086
Target format WHILE_LOOP: no conversion yet (not implemented) ๐Ÿ”— Success 0.054
Properties ยป

Back to top

TestCase LoopBodyParser.ParseResult Tests

Name Status Type Time(s)
Properties ยป

Back to top

TestCase LoopBodyParser.ParseResult Tests Constructor with skip index

Name Status Type Time(s)
Creates result with skip index ๐Ÿ”— Success 0.001
Skip index 0 is valid ๐Ÿ”— Success 0.001
Properties ยป

Back to top

TestCase LoopBodyParser.ParseResult Tests Constructor with variable name

Name Status Type Time(s)
Creates result with current variable name ๐Ÿ”— Success 0.000
Allows null variable name ๐Ÿ”— Success 0.000
Properties ยป

Back to top

TestCase LoopBodyParser.ParseResult Tests State checks

Name Status Type Time(s)
Abort result has shouldAbort() == true ๐Ÿ”— Success 0.000
Default skip index is -1 ๐Ÿ”— Success 0.000
Non-abort result has shouldAbort() == false ๐Ÿ”— Success 0.004
Properties ยป

Back to top

TestCase LoopBodyParser.ParseResult Tests abort() factory method

Name Status Type Time(s)
Multiple abort calls return equivalent results ๐Ÿ”— Success 0.001
Creates abort result ๐Ÿ”— Success 0.001
Properties ยป

Back to top

TestCase LoopToFunctionalV2 ULR Integration Tests

Name Status Type Time(s)
Loop with return should NOT be converted by V2 ๐Ÿ”— Success 0.169
Loop with continue should NOT be converted by V2 ๐Ÿ”— Success 0.105
Loop with break should NOT be converted by V2 ๐Ÿ”— Success 0.083
Simple forEach conversion with V2 ๐Ÿ”— Success 0.066
Array iteration with V2 uses Arrays.stream() ๐Ÿ”— Success 0.122
Properties ยป

Back to top

TestCase ProspectiveOperation Tests

Name Status Type Time(s)
Properties ยป

Back to top

TestCase ProspectiveOperation Tests Accumulator and Null-Safe Properties

Name Status Type Time(s)
setAccumulatorType and getAccumulatorType work correctly ๐Ÿ”— Success 0.004
setNullSafe and isNullSafe work correctly ๐Ÿ”— Success 0.001
Properties ยป

Back to top

TestCase ProspectiveOperation Tests Constructor with Expression

Name Status Type Time(s)
Creates MAP operation with produced variable ๐Ÿ”— Success 0.006
Creates FILTER operation from expression ๐Ÿ”— Success 0.001
Properties ยป

Back to top

TestCase ProspectiveOperation Tests OperationType Enum

Name Status Type Time(s)
All operation types are defined ๐Ÿ”— Success 0.002
Properties ยป

Back to top

TestCase ProspectiveOperation Tests OperationType.getMethodName()

Name Status Type Time(s)
Returns 'anyMatch' for ANYMATCH operation ๐Ÿ”— Success 0.000
Returns 'reduce' for REDUCE operation ๐Ÿ”— Success 0.001
Returns 'filter' for FILTER operation ๐Ÿ”— Success 0.001
Returns 'allMatch' for ALLMATCH operation ๐Ÿ”— Success 0.000
Returns 'noneMatch' for NONEMATCH operation ๐Ÿ”— Success 0.003
Returns 'forEachOrdered' for FOREACH operation ๐Ÿ”— Success 0.000
Returns 'map' for MAP operation ๐Ÿ”— Success 0.000
Properties ยป

Back to top

TestCase ProspectiveOperation Tests ReducerType Enum

Name Status Type Time(s)
All reducer types are defined ๐Ÿ”— Success 0.006
Properties ยป

Back to top

TestCase SideEffectChecker Tests

Name Status Type Time(s)
Properties ยป

Back to top

TestCase SideEffectChecker Tests isSafeSideEffect()

Name Status Type Time(s)
Assignment to current variable is unsafe ๐Ÿ”— Success 0.001
null statement is unsafe ๐Ÿ”— Success 0.000
Method invocation is safe ๐Ÿ”— Success 0.001
Assignment to different variable is unsafe ๐Ÿ”— Success 0.000
Properties ยป

Back to top

TestCase StatementParsingContext Tests

Name Status Type Time(s)
Properties ยป

Back to top

TestCase StatementParsingContext Tests Constructor

Name Status Type Time(s)
Creates context with all parameters ๐Ÿ”— Success 0.000
Properties ยป

Back to top

TestCase StatementParsingContext Tests Getters and Setters

Name Status Type Time(s)
setCurrentVariableName updates the variable name ๐Ÿ”— Success 0.003
Match patterns are correctly returned ๐Ÿ”— Success 0.001
Properties ยป

Back to top

TestCase StatementParsingContext Tests forSingleStatement factory

Name Status Type Time(s)
Creates context for single statement ๐Ÿ”— Success 0.000
Creates context with match patterns ๐Ÿ”— Success 0.001
Properties ยป

Back to top

TestCase StreamConstants Tests

Name Status Type Time(s)
Properties ยป

Back to top

TestCase StreamConstants Tests Converter-Specific Constants

Name Status Type Time(s)
UNUSED_PARAMETER_NAME is correct ๐Ÿ”— Success 0.000
MATH_CLASS_NAME is correct ๐Ÿ”— Success 0.000
Properties ยป

Back to top

TestCase StreamConstants Tests Math Constants

Name Status Type Time(s)
JAVA_LANG_MATH delegates to LibStandardNames ๐Ÿ”— Success 0.000
MAX_METHOD_NAME delegates to LibStandardNames ๐Ÿ”— Success 0.000
MIN_METHOD_NAME delegates to LibStandardNames ๐Ÿ”— Success 0.001
Properties ยป

Back to top

TestCase StreamConstants Tests Method Reference Constants

Name Status Type Time(s)
INTEGER_MAX is correct ๐Ÿ”— Success 0.001
INTEGER_MIN is correct ๐Ÿ”— Success 0.003
DOUBLE_SUM is correct ๐Ÿ”— Success 0.000
STRING_CONCAT is correct ๐Ÿ”— Success 0.000
INTEGER_SUM is correct ๐Ÿ”— Success 0.001
LONG_SUM is correct ๐Ÿ”— Success 0.000
Properties ยป

Back to top

TestCase StreamConstants Tests Stream Method Constants

Name Status Type Time(s)
REDUCE_METHOD delegates to LibStandardNames ๐Ÿ”— Success 0.000
ANY_MATCH_METHOD delegates to LibStandardNames ๐Ÿ”— Success 0.003
FILTER_METHOD delegates to LibStandardNames ๐Ÿ”— Success 0.001
ALL_MATCH_METHOD delegates to LibStandardNames ๐Ÿ”— Success 0.000
FOR_EACH_ORDERED_METHOD delegates to LibStandardNames ๐Ÿ”— Success 0.000
NONE_MATCH_METHOD delegates to LibStandardNames ๐Ÿ”— Success 0.000
STREAM_METHOD delegates to LibStandardNames ๐Ÿ”— Success 0.003
FOR_EACH_METHOD delegates to LibStandardNames ๐Ÿ”— Success 0.000
MAP_METHOD delegates to LibStandardNames ๐Ÿ”— Success 0.001
Properties ยป

Back to top

TestCase StreamConstants Tests Type Constants

Name Status Type Time(s)
JAVA_LANG_STRING delegates to LibStandardNames ๐Ÿ”— Success 0.003
Properties ยป

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.ASTStreamRendererTest

Name Status Type Time(s)
testRenderCollect_ToList ๐Ÿ”— Success 0.001
testRenderSource_ExplicitRange ๐Ÿ”— Success 0.002
testRenderMap ๐Ÿ”— Success 0.002
testRenderReduce_WithIdentity ๐Ÿ”— Success 0.008
testRenderDirectForEach_Collection ๐Ÿ”— Success 0.001
testRenderSource_Array ๐Ÿ”— Success 0.001
testRenderDirectForEach_Array_FallbackToStream ๐Ÿ”— Success 0.001
testRenderFind_First ๐Ÿ”— Success 0.000
testRenderSource_Collection ๐Ÿ”— Success 0.001
testRenderMatch_NoneMatch ๐Ÿ”— Success 0.001
testRenderDirectForEach_Iterable ๐Ÿ”— Success 0.000
testRenderMatch_AllMatch ๐Ÿ”— Success 0.004
testRenderForEach_Ordered ๐Ÿ”— Success 0.000
testRenderForEach_SingleStatement ๐Ÿ”— Success 0.001
testRenderSorted_NoComparator ๐Ÿ”— Success 0.000
testRenderFlatMap ๐Ÿ”— Success 0.001
testRenderSource_IntRange ๐Ÿ”— Success 0.000
testRenderPeek ๐Ÿ”— Success 0.001
testRenderSkip ๐Ÿ”— Success 0.001
testRenderFind_Any ๐Ÿ”— Success 0.000
testRenderForEach_MultipleStatements ๐Ÿ”— Success 0.001
testRenderSource_ExplicitRangeWithVariables ๐Ÿ”— Success 0.001
testComplexPipeline ๐Ÿ”— Success 0.001
testRenderSorted_WithComparator ๐Ÿ”— Success 0.001
testRenderSource_Iterable ๐Ÿ”— Success 0.000
testGetAST ๐Ÿ”— Success 0.001
testRenderFilter ๐Ÿ”— Success 0.001
testRenderDistinct ๐Ÿ”— Success 0.000
testRenderCount ๐Ÿ”— Success 0.001
testRenderLimit ๐Ÿ”— Success 0.000
testRenderReduce_WithoutIdentity ๐Ÿ”— Success 0.000
testRenderCollect_ToSet ๐Ÿ”— Success 0.001
testRenderMatch_AnyMatch ๐Ÿ”— Success 0.001
Properties ยป

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.FeatureParityTest

Name Status Type Time(s)
parity_FilterPattern ๐Ÿ”— Skipped
V2 does not support filter patterns yet - will be added in Phase 7
0.000
parity_SimpleForEachConversion ๐Ÿ”— Success 0.157
parity_BreakShouldNotConvert ๐Ÿ”— Success 0.130
Properties ยป

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.FunctionalLoopCollectTest

Name Status Type Time(s)
test_SimpleCollectToList ๐Ÿ”— Success 0.170
test_MappedCollectToList ๐Ÿ”— Success 0.143
Properties ยป

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.FunctionalLoopComplexPatternTest

Name Status Type Time(s)
test_MergingOperations ๐Ÿ”— Success 0.090
test_NoNeededVariablesMerging ๐Ÿ”— Success 0.095
test_SomeChainingWithNoNeededVar ๐Ÿ”— Success 0.095
Properties ยป

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.FunctionalLoopFilterMapTest

Name Status Type Time(s)
test_ChainingMap ๐Ÿ”— Success 0.175
test_NestedFilterCombination ๐Ÿ”— Success 0.113
test_MultipleContinueFilters ๐Ÿ”— Success 0.111
test_ChainingFilterMapForEachConvert ๐Ÿ”— Success 0.139
test_NonFilteringIfChaining ๐Ÿ”— Success 0.164
test_ContinuingIfFilterSingleStatement ๐Ÿ”— Success 0.187
test_ContinueWithNestedConditions ๐Ÿ”— Success 0.209
test_ContinueWithMapAndForEach ๐Ÿ”— Success 0.129
test_FilterWithComplexCondition ๐Ÿ”— Success 0.093
test_ChainedFilterAndMapOperations ๐Ÿ”— Success 0.137
test_SmoothLongerChaining ๐Ÿ”— Success 0.180
Properties ยป

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.FunctionalLoopMatchPatternTest

Name Status Type Time(s)
test_ChainedNoneMatch ๐Ÿ”— Success 1.923
test_ChainedAnyMatch ๐Ÿ”— Success 0.194
test_SimpleAllMatch ๐Ÿ”— Success 0.266
test_ChainedAllMatch ๐Ÿ”— Success 0.177
test_AllMatchWithNullCheck ๐Ÿ”— Success 0.216
Properties ยป

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.FunctionalLoopNegativeTest

Name Status Type Time(s)
test_Break_Statement_ShouldNotConvert ๐Ÿ”— Success 0.077
Loop with both break and continue - should NOT convert ๐Ÿ”— Success 0.083
Loop returning different values in different branches - should NOT convert ๐Ÿ”— Success 0.117
test_Throw_Statement_ShouldNotConvert ๐Ÿ”— Success 0.084
Loop modifying external variable (not accumulator pattern) - should NOT convert ๐Ÿ”— Success 0.084
test_External_variable_modification_with_side_effects_converts ๐Ÿ”— Success 0.081
test_Labeled_Continue_ShouldNotConvert ๐Ÿ”— Success 0.063
test_EarlyReturn_WithSideEffects_ShouldNotConvert ๐Ÿ”— Success 0.082
Properties ยป

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.FunctionalLoopReducerTest

Name Status Type Time(s)
test_SimpleReducer ๐Ÿ”— Success 0.154
test_MaxReducer ๐Ÿ”— Success 0.108
test_FilterMapReduceChain ๐Ÿ”— Success 0.143
test_LongIncrementReducer ๐Ÿ”— Success 0.055
test_SumReductionWithFilter ๐Ÿ”— Success 0.097
test_ComplexReductionWithMapping ๐Ÿ”— Success 0.146
test_IncrementReducer ๐Ÿ”— Success 0.133
test_MinReducer ๐Ÿ”— Success 0.127
Properties ยป

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.FunctionalLoopSimpleConversionTest

Name Status Type Time(s)
test_BeautificationWorks2 ๐Ÿ”— Success 0.263
test_SimpleForEachConversion ๐Ÿ”— Success 0.194
test_BeautificationWorks ๐Ÿ”— Success 0.236
test_EmptyCollectionHandling ๐Ÿ”— Success 0.185
Properties ยป

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.IteratorLoopConversionTest

Name Status Type Time(s)
testWithBreak_notYetSupported ๐Ÿ”— Success 0.064
testIteratorWithRemove_notConverted ๐Ÿ”— Success 0.134
testIteratorMultipleNext_notConverted ๐Ÿ”— Success 0.089
testMultipleStatements_forEach ๐Ÿ”— Success 0.116
testForLoopIterator_forEach ๐Ÿ”— Success 0.147
testSimpleWhileIterator_forEach ๐Ÿ”— Success 0.176
Properties ยป

Back to top